package com.zbkj.common.response;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 可兑换商品详情移动端对象
 *
 * @author Swallows
 * @date 2022-10-26 14:19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel("可兑换商品详情移动端对象")
public class StoreGiftDetailH5Response implements Serializable {

    private static final long serialVersionUID = -1L;

    @ApiModelProperty(value = "礼品表id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "商品id")
    private Integer productId;

    @ApiModelProperty(value = "推荐图")
    private String image;

    @ApiModelProperty(value = "轮播图")
    private String sliderImage;

    @ApiModelProperty(value = "秒杀商品名称")
    private String storeName;

    @ApiModelProperty(value = "简介")
    private String storeInfo;

    @ApiModelProperty(value = "价格")
    private BigDecimal price;

    @ApiModelProperty(value = "原价")
    private BigDecimal otPrice;

    @ApiModelProperty(value = "销量")
    private Integer sales;

    @ApiModelProperty(value = "虚拟销量")
    private Integer ficti;

    @ApiModelProperty(value = "单位名")
    private String unitName;

    @ApiModelProperty(value = "内容")
    private String description;

    @ApiModelProperty(value = "单卡可兑换数量")
    private Integer num;

    @ApiModelProperty(value = "兑换总数 随销量递减")
    private Integer quota;

    @ApiModelProperty(value = "兑换总数显示 不变")
    private Integer quotaShow;

    @ApiModelProperty(value = "商品详情")
    private String content;
}
